package org.uiot.resource

class RmqInst {

    String host
    Integer port = 5672
    String username
    String password

    static constraints = {
        host(blank: false)
        port(nullable: false, min: 1000)
        username(blank: false, matches: /[a-zA-Z0-9]+/)
        password(blank: false)
    }
}
